package com.springboot.demo.entity;

import lombok.Data;

import javax.persistence.EnumType;
import java.util.Date;

/**
 * @author wubc683
 * @desc
 * @date 2021-07-27 9:14
 */
@Data
public class Message {
    private Long id;
    private Long fromUserId;
    private Long toUserId;
    private String type;
    private String content;
    private Date createDate;

    private enum  MsgType{
       A,B,c;
    }
}
